#ifndef __AO_CONFIG_H__
#define __AO_CONFIG_H__
#include "ao_test.h"

void config_ao_current(void *param) {
    struct ao_param_t *pparam = (struct ao_param_t *)param;
    uint8_t i = 0;

    if (pparam->write_cnt == 0)
        pparam->write_cnt = 1;

    pparam->en_write = 1;
    pparam->write_cnt = 1;
    for (i = 0; i < pparam->dev_num; i++) {
        pparam->dev[i].index = i;
        pparam->dev[i].set_val = 10;    /* mA */
    }
};

#endif /* __AO_CONFIG_H__ */
